<h2> Edit <%= customer.name.possessive %> Address </h2>

<%= form_for @form_address, url: admin_user_datas_user_address_path(customer,@form_address) do |f| %>
  <%=  render partial: 'form', locals: { f: f } %>
  <div class="actions"><%= f.submit 'Update' , class: 'button' %></div>
<% end %>

<p>
  <%= link_to "Show", admin_user_datas_user_address_path(customer, @form_address), class: 'button' %> |
  <%= link_to "View All", admin_user_datas_user_addresses_path(customer), class: 'button' %>
</p>
